package com.ryan.encrypttool.common.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @program encrypt-tool
 * @description 分页查询返回结果对象
 * @author ryan
 * @create 2024-03-03 02:42
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Accessors(chain = true)
public class PageResultVO<T> {
    private Long total;
    private Long current;
    private Long size;
    private Integer hasNext;
    private List<T> data;


}
